package com.cskaoyan.service;

import com.cskaoyan.bean.BaseData;
import com.cskaoyan.bean.bo.CommentParam;
import com.cskaoyan.bean.pojo.MallComment;

public interface CommentService {
    /**
     * @Author harvey
     * @description: 用来得到所有的评论响应给页面
     * @Date 2021/7/9 20:11
     * url: http://182.92.235.201:8083/admin/comment/list?page=1&limit=20&userId=1&valueId=2&sort=add_time&order=desc
     */
    BaseData<MallComment> queryCommentsByConditions(CommentParam commentParam);

    /**
     * @Author harvey
     * @description: 用来实现评论的逻辑删除
     * @Date 2021/7/9 20:31
     * url: http://182.92.235.201:8083/admin/comment/delete
     */
    void deleteCommentById(MallComment mallComment);
}
